package cn.sxt.logistics.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author ${author}
 * @since 2020-06-17
 */
@TableName("t_customer")
public class Customer implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 客户id
     */
      @TableId(value = "customer_id", type = IdType.AUTO)
      private Long customerId;

      /**
     * 客户名称
     */
      private String customerName;

      /**
     * 电话
     */
      private String phone;

      /**
     * 邮箱
     */
      private String email;

      /**
     * 地址
     */
      private String address;

      /**
     * 性别 1男 2女
     */
      private Integer gender;

      /**
     * 备注
     */
      private String remark;

      /**
     * 身份证号码
     */
      private String idCard;

      /**
     * 用户id
     */
      private Long adminId;

      /**
     * 基础数据id
     */
      private Long baseId;

    @TableField(select = false)
    private String salesman;

      /**
     * 数据名称
     */
      @TableField(select = false)
      private String region;

    
    public Long getCustomerId() {
        return customerId;
    }

      public void setCustomerId(Long customerId) {
          this.customerId = customerId;
      }
    
    public String getCustomerName() {
        return customerName;
    }

      public void setCustomerName(String customerName) {
          this.customerName = customerName;
      }
    
    public String getPhone() {
        return phone;
    }

      public void setPhone(String phone) {
          this.phone = phone;
      }
    
    public String getEmail() {
        return email;
    }

      public void setEmail(String email) {
          this.email = email;
      }
    
    public String getAddress() {
        return address;
    }

      public void setAddress(String address) {
          this.address = address;
      }
    
    public Integer getGender() {
        return gender;
    }

      public void setGender(Integer gender) {
          this.gender = gender;
      }
    
    public String getRemark() {
        return remark;
    }

      public void setRemark(String remark) {
          this.remark = remark;
      }
    
    public String getIdCard() {
        return idCard;
    }

      public void setIdCard(String idCard) {
          this.idCard = idCard;
      }
    
    public Long getAdminId() {
        return adminId;
    }

      public void setAdminId(Long adminId) {
          this.adminId = adminId;
      }
    
    public Long getBaseId() {
        return baseId;
    }

      public void setBaseId(Long baseId) {
          this.baseId = baseId;
      }
    
    public String getSalesman() {
        return salesman;
    }

      public void setSalesman(String salesman) {
          this.salesman = salesman;
      }
    
    public String getRegion() {
        return region;
    }

      public void setRegion(String region) {
          this.region = region;
      }

    @Override
    public String toString() {
        return "Customer{" +
              "customerId=" + customerId +
                  ", customerName=" + customerName +
                  ", phone=" + phone +
                  ", email=" + email +
                  ", address=" + address +
                  ", gender=" + gender +
                  ", remark=" + remark +
                  ", idCard=" + idCard +
                  ", adminId=" + adminId +
                  ", baseId=" + baseId +
                  ", salesman=" + salesman +
                  ", region=" + region +
              "}";
    }
}
